package autokeyboard.data;

public class KeyStrokeData
{
	private int index;
	private String keyStrokeDetail;
	private String keyStrokeName;
	private int keyStrokeDelay;
	
	public void setKeyStrokeData(Object[] list)
	{
		this.index = Integer.parseInt(list[0].toString());
		this.keyStrokeDetail = list[1].toString();
		this.keyStrokeName = list[2].toString();
		this.keyStrokeDelay = Integer.parseInt(list[3].toString());
	}
	
	public int getIndex()
	{
		return this.index;
	}
	
	public String getKeyStrokeDetail()
	{
		return this.keyStrokeDetail;
	}
	
	public String getKeyStrokeName()
	{
		return this.keyStrokeName;
	}
	
	public int getKeyStrokeDelay()
	{
		return this.keyStrokeDelay;
	}
	
	
}
